package com.hello.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hello.common.core.annotation.Excel;
import com.hello.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 聊天话题分类对象 sd_chat_topics
 * 
 * @author hello
 * @date 2025-05-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ChatTopics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 话题ID，主键，自增 */
    private Long topicId;

    /** 话题名称，唯一且不能为空 */
    @Excel(name = "话题名称，唯一且不能为空")
    private String name;

    /** 话题的详细描述 */
    @Excel(name = "话题的详细描述")
    private String description;

    /** 话题是否当前可用，默认为TRUE */
    @Excel(name = "话题是否当前可用，默认为TRUE")
    private Integer isActive;

    public void setTopicId(Long topicId) 
    {
        this.topicId = topicId;
    }

    public Long getTopicId() 
    {
        return topicId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setIsActive(Integer isActive) 
    {
        this.isActive = isActive;
    }

    public Integer getIsActive() 
    {
        return isActive;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("topicId", getTopicId())
            .append("name", getName())
            .append("description", getDescription())
            .append("isActive", getIsActive())
            .toString();
    }
}
